<?php
$PurviewLevel=0;
require("../../inc/common.inc.php");
require_once("../Admin_ChkPurview.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
if (!strpos($OtherPurview,'tongji_') and $Purview!=1){
	$fun->popmassage("没有此管理权限","","popback");
	exit();
}
?>
<TITLE>铭讯EOS网站后台管理</TITLE>
<Meta name="Keywords" Content="济南网站建设 济南网站制作 山东网站建设 济南铭讯软件有限公司">
<Meta name="Description" Content="济南网站制作：铭讯软件专业服务优秀企业，致力于网站建、设网站推广、网络营销一体的全访位网络服务商">
<link href="../images/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="left">
		<div class="title"><h1>数据统计</h1></div>
		<?php
		$zongmenu=0;
		if ($Purview==1 || strpos($OtherPurview,'tongji_') || $fiddbadmin!=""){
		$zongmenu++;
		?>
		<div class="subtitle" onClick="show_menu(1);"><h1 class="a1">数据统计</h1></div>
		<ul class="menu" id="mnuList1">
			<?php
			if ($Purview==1 || strpos($OtherPurview,'tongji_user')){
			?>
			<li><a href="tj_user.php" target="main">用户增长</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'tongji_diqu')){
			?>
			<li><a href="tj_diqu.php" target="main">地区分布</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'tongji_msg')){
			?>
			<li><a href="tj_msg.php" target="main">消息统计</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'tongji_huifu')){
			?>
			<li><a href="tj_replay.php" target="main">回复统计</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'tongji_fenxiang')){
			?>
			<li><a href="tj_fenxiang.php" target="main">分享统计</a></li>
			<?php
			}
			if ($Purview==1 || strpos($OtherPurview,'tongji_fangwen')){
			?>
			<li><a href="tj_fangwen.php" target="main">访问量统计</a></li>
			<?php
			}
			?>
		</ul>
		<?php }?>
</div> 
<script>
function show_menu(modk){
    for(i=1; i<=<?php echo $zongmenu;?>; i++)
    {
	  if (i==modk)
      {
	  document.getElementById("mnuList"+i).style.display="block";
	  }
      else
      {
	  document.getElementById("mnuList"+i).style.display="none";
	  }
    }
}
</script>
</body>
</html>